#################################################
#      Makefile adapted by eDgar from           #
#      MOOSE Application Standard Makefile      #
#################################################
#
# Optional Environment variables
# MOOSE_DIR        - Root directory of the MOOSE project
#
# ###############################################
# Use the MOOSE submodule if it exists and MOOSE_DIR is not
# set
MOOSE_SUBMODULE    := $(CURDIR)/moose
ifneq ($(wildcard $(MOOSE_SUBMODULE)/framework/Makefile),)
  MOOSE_DIR        ?= $(MOOSE_SUBMODULE)
else
  MOOSE_DIR        ?= /home/edgar/Progs/moose
endif

# framework
FRAMEWORK_DIR      := $(MOOSE_DIR)/framework
include $(FRAMEWORK_DIR)/build.mk
include $(FRAMEWORK_DIR)/moose.mk

# MODULES ####################################
# To use certain physics included with MOOSE, set variables
# below to yes as needed.  Or set ALL_MODULES to yes to turn
# on everything (overrides other set variables).

ALL_MODULES         := no

CHEMICAL_REACTIONS        := no
CONTACT                   := no
FLUID_PROPERTIES          := no
HEAT_CONDUCTION           := no
LINEAR_ELASTICITY         := no
MISC                      := no
NAVIER_STOKES             := no
PHASE_FIELD               := no
POROUS_FLOW               := no
RICHARDS                  := no
SOLID_MECHANICS           := no
# all that we are doing is TensorMechanics
TENSOR_MECHANICS          := yes
WATER_STEAM_EOS           := no
XFEM                      := no
include $(MOOSE_DIR)/modules/modules.mk
# ###############################################

# dep apps
APPLICATION_DIR    := $(CURDIR)
# Set my application name
APPLICATION_NAME   := spider
# Make the application executable
BUILD_EXEC         := yes
DEP_APPS           := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
include            $(FRAMEWORK_DIR)/app.mk

# ###############################################
# Additional special case targets should be added here
